﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.master" AutoEventWireup="true"
    CodeFile="default.aspx.cs" Inherits="pic_default" %>
<%@ Register Src="../ascx/Category.ascx" TagName="Category" TagPrefix="uc1" %>
<%@ Register Src="../ascx/Color.ascx" TagName="Color" TagPrefix="uc2" %>
<%@ Register Src="../ascx/Language.ascx" TagName="Language" TagPrefix="uc3" %>
<%@ Register src="../ascx/ad.ascx" tagname="ad" tagprefix="uc4" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CPH" runat="Server">
    <div class="b dotted">
        <uc1:Category ID="Category1" Type="4" runat="server" />
        <uc2:Color ID="Color1" runat="server" />
        <uc3:Language ID="Language1" runat="server" />
        <div class="b1">
            当前位置：首页 > 列表</div>
    </div>
    <!--导航结束-->
    <script type="text/javascript">

        $(document).ready(function () {
            var dls = $('#bs').find("dl");
            var els = $('#bs').find("span");
            els.hide();
            dls.mouseover(function (i) {
                els.hide();
                var i = dls.index($(this));
                dls.removeClass("c1");
                $(this).addClass("c1");
                $(els[i]).show();
            });
            dls.mouseout(function (i) {
                els.hide();
                dls.removeClass("c1");
            });
        });
    </script>
    <div class="h20">
    </div>
    <div class="k1000">
	<div class="k838">
    	<div id="media-wrapper">
			<asp:Repeater ID="Repeater1" runat="server">
            <ItemTemplate>
            <div class="media-item">
				
				<div class="media-thumb">
					<div class="screenshot-icon"></div>
					<a href="./screenshot-post.html"><img src="<%# base.GetImage(Eval("HeahImagePath"))%>" width="260" height="150" alt="<%#Eval("Name")%>" /></a>
					<div class="media-arrows"></div>
					<h4><a href="./screenshot-post.html"><%#Eval("Name")%></a></h4>
					<div class="media-meta-wrapper">
						<span class="media-meta"><%# Eval("AddTime","{0:yyyy-MM-dd}")%></span>
						<span class="media-cats">360</span>
					</div>
				</div>
				
			</div>
            </ItemTemplate>
            </asp:Repeater>			
	    </div>
        <div id="g">
            <My:AspNetPager PageSize="9" UrlPaging="true" runat="server" LastButtonClass="last"
                    PrevButtonClass="pre" FirstButtonClass="first" NextButtonClass="next" ID="pgServer" CurrentPageButtonClass="cur_page"
                    FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页" ShowMoreButtons="False"
                    ShowPrevNext="True">
            </My:AspNetPager>
        </div>
    </div>
    <uc4:ad ID="ad1" runat="server" />
</div>
</asp:Content>
